const database = {
    dbName: 'kStudy',
    host: 'localhost',
    port: 3306,
    user: 'root',
    password: '120456'
}
const security = {
    secretKey: "abcdefg",
    expiresIn: 60 * 60 * 24 * 30
}
const wx = {
    appId: 'wx427aa3a19b6ce631',
    appSecret: "e77af79852daa681f1636c41a91b700f",
    loginUrl: 'https://api.weixin.qq.com/sns/jscode2session?appid=%s&secret=%s&js_code=%s&grant_type=authorization_code'
}
const yushu = {
    detailUrl: 'http://t.talelin.com/v2/book/id/%s',
    keywordUrl: 'http://t.talelin.com/v2/book/search?q=%s&count=%s&start=%s&summary=%s'
}
const httpHost = 'http://localhost:3000/'

module.exports = {
    database,
    security,
    wx,
    yushu,
    httpHost
}